
<div class="form-group">
    <label class="col-sm-2 control-label">是否开启</label>
    <div class="col-sm-9 col-xs-12">

        {ife 'goods' $item}
        <label class="radio-inline"><input type="radio" name="noticetype" value="" {if empty($item['noticetype']) }checked="true"{/if}  /> 关闭</label>
        <label class="radio-inline"><input type="radio" name="noticetype" value="1" {if $item['noticetype'] == 1}checked="true"{/if}   /> 开启</label>
        {else}
        <div class='form-control-static'>{if empty($item['noticetype'])}关闭{else}开启{/if}</div>
        {/if}
    </div>
</div>
<div class="form-group notice">
    <label class="col-sm-2 control-label">商家付款通知</label>
    <div class="col-sm-9 col-xs-12">
        {ife 'goods' $item}
        {php echo tpl_selector('noticeopenid',array('key'=>'openid','text'=>'nickname','multi'=>1 ,'thumb'=>'avatar','placeholder'=>'昵称/姓名/手机号','buttontext'=>'选择通知人', 'items'=>$saler,'url'=>webUrl('member/query') ))}
        {else}
        <div class='form-control-static'>
            {if !empty($saler)}{$saler['nickname']}{else}无{/if}
        </div>
        {/if}
    </div>
</div>

